package com.sx.zongzhi.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by XZY on 2017/12/5.
 */

public class OverseasBean implements Serializable {


    /**
     * page : 1
     * records : 2
     * rows : []
     * total : 1
     */

    private int page;
    private int records;
    private int total;
    private OverseasBean.PermissionBean permission;
    private List<RowsBean> rows;

    public PermissionBean getPermission() {
        return permission;
    }

    public void setPermission(PermissionBean permission) {
        this.permission = permission;
    }

    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public int getRecords() {
        return records;
    }

    public void setRecords(int records) {
        this.records = records;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public List<RowsBean> getRows() {
        return rows;
    }

    public void setRows(List<RowsBean> rows) {
        this.rows = rows;
    }

    public static class RowsBean {


        /**
         * age : 9
         * currentAddress : 人民大会堂
         * gender : {"displayName":"男性","id":"60E87F39EE3F6C1CE0530100007F10AB"}
         * id : 60E8AFDC30156EBFE0530100007F5984
         * nameFont : 达摩祖师(father)
         * nationality : {"displayName":"阿富汗","id":"60E87F39F5476C1CE0530100007F10AB"}
         *
         */

        private int age;
        private String currentAddress;
        private GlobalBean gender;
        private String id;
        private String imgUrl;
        private String nameFont;
        private GlobalBean nationality;

        public String getImgUrl() {
            return imgUrl;
        }

        public void setImgUrl(String imgUrl) {
            this.imgUrl = imgUrl;
        }

        public int getAge() {
            return age;
        }

        public void setAge(int age) {
            this.age = age;
        }

        public String getCurrentAddress() {
            return currentAddress;
        }

        public void setCurrentAddress(String currentAddress) {
            this.currentAddress = currentAddress;
        }

        public GlobalBean getGender() {
            return gender;
        }

        public void setGender(GlobalBean gender) {
            this.gender = gender;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getNameFont() {
            return nameFont;
        }

        public void setNameFont(String nameFont) {
            this.nameFont = nameFont;
        }

        public GlobalBean getNationality() {
            return nationality;
        }

        public void setNationality(GlobalBean nationality) {
            this.nationality = nationality;
        }

    }

    public static class PermissionBean implements Serializable{
        private boolean updateOverseaPerson;
        private boolean addOverseaPerson;
        private boolean deleteOverseaPerson;

        public boolean isUpdateOverseaPerson() {
            return updateOverseaPerson;
        }

        public void setUpdateOverseaPerson(boolean updateOverseaPerson) {
            this.updateOverseaPerson = updateOverseaPerson;
        }

        public boolean isAddOverseaPerson() {
            return addOverseaPerson;
        }

        public void setAddOverseaPerson(boolean addOverseaPerson) {
            this.addOverseaPerson = addOverseaPerson;
        }

        public boolean isDeleteOverseaPerson() {
            return deleteOverseaPerson;
        }

        public void setDeleteOverseaPerson(boolean deleteOverseaPerson) {
            this.deleteOverseaPerson = deleteOverseaPerson;
        }
    }
}
